package com.reconcile.phone.common.constant;

/**
 * 登陆相关常量
 *
 * @author zlj
 * @since 2023/3/3
 */
public interface LoginConstant {

    /**
     * access_token缓存key
     */
    String REDIS_KEY_XCX_ACCESS_TOKEN = "xcx_access_token";

    /**
     * 小程序登陆url  get请求
     */
    String XCX_LOGIN_URL = "https://api.weixin.qq.com/sns/jscode2session";
    /**
     * 小程序获取用户手机号  post请求
     */
    String XCX_GET_PHONE_NUMBER = "https://api.weixin.qq.com/wxa/business/getuserphonenumber";
    /**
     * 程序获取AccessToken  get请求
     */
    String XCX_GET_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token";

    /**
     * 微信app端登录url
     */
    String WX_APP_LOGIN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";

    /**
     * 微信app端刷新token url
     */
//    String WX_APP_REFRESH_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/refresh_token";
}
